local MapBase = class("MapBase", function()
	return display.newLayer()
end)

function MapBase:ctor(data)
    self.data = data
    self:enableNodeEvents()
end

function MapBase:close()
	self:runAction(cca.seq({cca.delay(0.1),cca.removeSelf()}))
end

function MapBase:initUI()
--     self.p_bg = display.newSprite("UI/bg/layer_bg.jpg")
--    td.AddRelaPos(self,self.p_bg)
end

return MapBase